﻿using System;

namespace Runner
{
    class Program
    {
        static void Main(string[] args)
        {
            double current = 10;
            double s = 0;
            int days = 0;
            

            while (s < 100)
            {
                days++;
                s += current;
                current *= 1.1;
            }

            Console.WriteLine(days);

            current = 10;
            s = 0;
            days = 0;
            
            for (current = 10; s < 100; current *= 1.1)
            {
                days++;
                s += current;
            }

            Console.WriteLine(days);
        }
    }
}
